from django import forms

class SubmissionManipulator(forms.Manipulator):
	def __init__(self,comps):
		self.fields = \
				(
					forms.FileUploadField(field_name="code",is_required = True),
					forms.TextField(field_name="task",is_required = True,length=33,maxlength=32),
					forms.SelectField(field_name="compiler",is_required = True,choices=comps),
				)

